package com.jinmdz.fmis.api.api.model.settlement;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用结算费用列表
 *
 * @author LiCongLu
 * @date 2020-02-18 14:21
 */
@ApiModel(value = "费用结算费用列表", description = "费用结算费用列表")
public class ChargeSettlementChargeItem extends BaseItem {
    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 服务项目外键
     */
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 2)
    private Integer serviceItemId;

    /**
     * 服务项目费用名称
     */
    @ApiModelProperty(value = "服务项目费用名称", name = "itemName", position = 3)
    private String itemName;

    /**
     * 项目价格
     */
    @ApiModelProperty(value = "项目价格", name = "itemPrice", position = 4)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", name = "itemNumber", position = 5)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @ApiModelProperty(value = "项目单位", name = "itemUnit", position = 6)
    private String itemUnit;

    /**
     * 项目金额
     */
    @ApiModelProperty(value = "项目金额", name = "itemCharge", position = 7)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemCharge;

    /**
     * 优惠金额
     */
    @ApiModelProperty(value = "优惠金额", name = "discountCharge", position = 8)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal discountCharge;

    /**
     * 惠民金额
     */
    @ApiModelProperty(value = "惠民金额", name = "benefitCharge", position = 9)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal benefitCharge;

    /**
     * 实际收费金额
     */
    @ApiModelProperty(value = "实际收费金额", name = "realityCharge", position = 10)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal realityCharge;

    /**
     * 费用时间
     */
    @ApiModelProperty(value = "费用时间", name = "chargeTime", position = 11)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date chargeTime;

    /**
     * 是否不可结算
     */
    @ApiModelProperty(value = "是否不可结算", name = "asUnsettled", position = 12)
    private Integer asUnsettled;

    /**
     * 是否结算
     */
    @ApiModelProperty(value = "是否结算", name = "asSettled", position = 13)
    private Integer asSettled;

    /**
     * 是否结算文本
     */
    @ApiModelProperty(value = "是否结算文本", name = "asSettledText", position = 14)
    private String asSettledText;

    /**
     * 费用结算外键
     */
    @ApiModelProperty(value = "费用结算外键", name = "chargeSettleId", position = 15)
    private Integer chargeSettleId;

    /**
     * 是否业务费用
     */
    @ApiModelProperty(value = "是否业务费用", name = "asBusiness", position = 16)
    private Integer asBusiness;

    /**
     * 是否被退费或负费用
     */
    @ApiModelProperty(value = "是否被退费或负费用", name = "asRefund", position = 17)
    private Integer asRefund;

    /**
     * 被退费费用主键
     */
    @ApiModelProperty(value = "被退费费用主键", name = "refundId", position = 18)
    private Integer refundId;

    /**
     * 结算编号
     */
    @ApiModelProperty(value = "结算编号", name = "settleBatchNo", position = 19)
    private String settleBatchNo;

    /**
     * 结算时间
     */
    @ApiModelProperty(value = "结算时间", name = "settleTime", position = 20)
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date settleTime;

    /**
     * 付款方式
     */
    @ApiModelProperty(value = "付款方式", name = "payType", position = 21)
    private String payType;

    /**
     * 是否打印发票
     */
    @ApiModelProperty(value = "是否打印发票", name = "asInvoice", position = 22)
    private Integer asInvoice;

    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeSettlementChargeItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ChargeSettlementChargeItem setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public ChargeSettlementChargeItem setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public ChargeSettlementChargeItem setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public ChargeSettlementChargeItem setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public ChargeSettlementChargeItem setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public BigDecimal getItemCharge() {
        return itemCharge;
    }

    public ChargeSettlementChargeItem setItemCharge(BigDecimal itemCharge) {
        this.itemCharge = itemCharge;
        return this;
    }

    public BigDecimal getDiscountCharge() {
        return discountCharge;
    }

    public ChargeSettlementChargeItem setDiscountCharge(BigDecimal discountCharge) {
        this.discountCharge = discountCharge;
        return this;
    }

    public BigDecimal getBenefitCharge() {
        return benefitCharge;
    }

    public ChargeSettlementChargeItem setBenefitCharge(BigDecimal benefitCharge) {
        this.benefitCharge = benefitCharge;
        return this;
    }

    public BigDecimal getRealityCharge() {
        return realityCharge;
    }

    public ChargeSettlementChargeItem setRealityCharge(BigDecimal realityCharge) {
        this.realityCharge = realityCharge;
        return this;
    }

    public Date getChargeTime() {
        return chargeTime;
    }

    public ChargeSettlementChargeItem setChargeTime(Date chargeTime) {
        this.chargeTime = chargeTime;
        return this;
    }

    public Integer getAsUnsettled() {
        return asUnsettled;
    }

    public ChargeSettlementChargeItem setAsUnsettled(Integer asUnsettled) {
        this.asUnsettled = asUnsettled;
        return this;
    }

    public Integer getAsSettled() {
        return asSettled;
    }

    public ChargeSettlementChargeItem setAsSettled(Integer asSettled) {
        this.asSettled = asSettled;
        return this;
    }

    public String getAsSettledText() {
        return asSettledText;
    }

    public ChargeSettlementChargeItem setAsSettledText(String asSettledText) {
        this.asSettledText = asSettledText;
        return this;
    }

    public Integer getChargeSettleId() {
        return chargeSettleId;
    }

    public ChargeSettlementChargeItem setChargeSettleId(Integer chargeSettleId) {
        this.chargeSettleId = chargeSettleId;
        return this;
    }

    public Integer getAsBusiness() {
        return asBusiness;
    }

    public ChargeSettlementChargeItem setAsBusiness(Integer asBusiness) {
        this.asBusiness = asBusiness;
        return this;
    }

    public Integer getAsRefund() {
        return asRefund;
    }

    public ChargeSettlementChargeItem setAsRefund(Integer asRefund) {
        this.asRefund = asRefund;
        return this;
    }

    public Integer getRefundId() {
        return refundId;
    }

    public ChargeSettlementChargeItem setRefundId(Integer refundId) {
        this.refundId = refundId;
        return this;
    }

    public String getSettleBatchNo() {
        return settleBatchNo;
    }

    public ChargeSettlementChargeItem setSettleBatchNo(String settleBatchNo) {
        this.settleBatchNo = settleBatchNo;
        return this;
    }

    public Date getSettleTime() {
        return settleTime;
    }

    public ChargeSettlementChargeItem setSettleTime(Date settleTime) {
        this.settleTime = settleTime;
        return this;
    }

    public String getPayType() {
        return payType;
    }

    public ChargeSettlementChargeItem setPayType(String payType) {
        this.payType = payType;
        return this;
    }

    public Integer getAsInvoice() {
        return asInvoice;
    }

    public ChargeSettlementChargeItem setAsInvoice(Integer asInvoice) {
        this.asInvoice = asInvoice;
        return this;
    }
}
